package cn.iocoder.yudao.module.trade.controller.admin.order.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.math.BigDecimal;

@Schema(description = "管理后台 - 交易订单统计 Response VO")
@Data
public class TradeOrderSummaryRespVO {

    @Schema(description = "头寸", requiredMode = Schema.RequiredMode.REQUIRED, example = "10000")
    private String position;

    @Schema(description = "需补定金订单数", requiredMode = Schema.RequiredMode.REQUIRED, example = "10")
    private Integer needDepositCount;

    @Schema(description = "未结清订单数", requiredMode = Schema.RequiredMode.REQUIRED, example = "20")
    private Integer unsettledCount;

    @Schema(description = "已结清订单数", requiredMode = Schema.RequiredMode.REQUIRED, example = "50")
    private Integer settledCount;

    @Schema(description = "买入重量(克)", requiredMode = Schema.RequiredMode.REQUIRED, example = "500")
    private BigDecimal buyWeight;

    @Schema(description = "卖出重量(克)", requiredMode = Schema.RequiredMode.REQUIRED, example = "300")
    private BigDecimal sellWeight;

    private BigDecimal sellWeightOrderPrice;
    private BigDecimal reclaimWeightOrderPrice;

    @Schema(description = "延期费合计(元)", requiredMode = Schema.RequiredMode.REQUIRED, example = "500")
    private BigDecimal totalDelayFee;

    @Schema(description = "下单均价(元)", requiredMode = Schema.RequiredMode.REQUIRED, example = "380")
    private BigDecimal avgReclaimOrderPrice;
    private BigDecimal avgSellOrderPrice;

    @Schema(description = "已收定金(元)", requiredMode = Schema.RequiredMode.REQUIRED, example = "10000")
    private BigDecimal totalDeposit;
    @Schema(description = "已补定金(元)", requiredMode = Schema.RequiredMode.REQUIRED, example = "10000")
    private BigDecimal totalDepositAdd;

}
